Param1Desc{The caption which appears in the title bar of the dialog, eg "Open Editor File"}CommandName{openDialog}HelpPath{Dialogs}ReturnValue{str fileName=}OpenBrace{(}Parameters{str caption, str fileTypes}CloseBrace{)}Description{Displays a standard open-file dialog.  This allows the user to select a file to open.  This is usually used for opening and saving documents in a Level Editor for example.}ReturnDescription{The filename and path of the file which the user selected.}Param1{caption}Param2{fileTypes}Param2Desc{String specifying the types of files which the user can view.  The string looks like this : <pre>Description of FileType|Extension|Description of FileType|Extension</pre> Using a pipe character |  (chr$(127)) to seperate each part.
<br><br>
For example:
<br>
<pre>file=openDialog("Open Text File","Text Files (*.txt)|*.txt|All Files (*.*)|*.*")</pre>}